package cn.edu.sctu.sctu_lysd.biz;

import android.widget.EditText;

import cn.edu.sctu.sctu_lysd.base.BasePresenter;
import cn.edu.sctu.sctu_lysd.base.BaseView;

/**
 * Created by wangfuxin on 2017-04-06.
 */

public interface RegisterBiz {

    interface Presenter extends BasePresenter {


        void register(String phoneNumber, String code,String password, String confirmPassword);

        void cancel();

        void getCode(String phoneNumber);

        String getInputSting(EditText view);


    }


    interface View extends BaseView<RegisterBiz.Presenter>{

        void registerSuccess();

        void registerFailed(int errorCode);


    }



}
